package mc.support.taobao.api;

import com.taobao.api.TaobaoRequest;
import com.taobao.api.request.ItemDeleteRequest;
import com.taobao.api.response.ItemDeleteResponse;

/**
 * Created with IntelliJ IDEA. <br/>
 * Author: wangming    <br/>
 * Date: 2014-11-26  <br/>
 */
public class DeleteItemReq extends AbstractReq<DeleteItemReq, ItemDeleteResponse> {

    private Long numIid;

    public DeleteItemReq numId( Long numIid ) {
        this.numIid = numIid;
        return this;
    }

    @Override
    protected TaobaoRequest toRequest() {
        ItemDeleteRequest req = new ItemDeleteRequest();

        if ( null != numIid ) {
            req.setNumIid( numIid );
        }

        return req;
    }
}
